<%--
  Created by IntelliJ IDEA.
  User: pinky
  Date: 2016/12/9
  Time: 12:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <base href="<%=basePath%>">
    <style type="text/css">
        body {
            font-size: 12px;
        }

        table {
            width: 70%;
            border-collapse: collapse;
        }

        input {
            background-color: #111;
            color: rgb(197, 174, 168);
        }

        td {
            padding: 5px;
        }

        select {
            background-color: #111;
            border: 1px solid rgb(175, 18, 88);
            color: rgb(179, 197, 135);
        }

        textarea {
            background-color: #111;
            resize: vertical;
            border: 1px solid rgb(175, 18, 88);
            color: rgb(179, 197, 135);
        }
    </style>
</head>
<body>
<div>
    <h1>接口测试</h1>
    <table border="1px" align="center" style="width:100%;">

        <thead>
        <tr>
            <th>接口名称</th>
            <th>接口地址</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach items="${list}" var="list">
        <tr>
            <td>${list.name}</td>
            <td><a href="${list.url}">${list.url}</a></td>
        <tr>
            </c:forEach>
        </tbody>
    </table>
</div>
</body>
</html>
